#@layout()
#define main()
<h1>作业管理&nbsp;&nbsp;
<a href="/add">创建作业</a>
</h1>
<div class="table_box">
	<table class="list">
		<tbody>
			<tr>
				<th width="4%">作业名称</th>
				<th width="35%">课程名称</th>
				<th width="12%">操作</th>
			</tr>
			
			#for(work : works)
			<tr>
				<td style="text-align:left;">#(work.workName)</td>
				<td style="text-align:left;">#(work.courseName)</td>
				<td style="text-align:left;">
					&nbsp;&nbsp;<a href="/delete/#(work.workId)">删除</a>
					&nbsp;&nbsp;<a href="/edit/#(work.workId)">修改</a>
					&nbsp;&nbsp;<a href="/sign/#(work.workId)">登记</a>
				</td>
			</tr>
			#end
		</tbody>
	</table>
</div>
#end